package com.smedi.ismedi.inmail.api.dto.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.util.List;

/**
 * 通知公告基础信息
 *
 * @author jiangqinxuan
 * &#064;date  2021/07/26
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class NodeResponse {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 唯一标识
     */
    @ApiModelProperty(value = "唯一标识")
    private String key;
    /**
     * 类型
     */
    @ApiModelProperty(value = "类型")
    private String type;
    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;
    /**
     * 子节点
     */
    @ApiModelProperty(value = "子节点")
    private List<NodeResponse> children;
    /**
     * 路径
     */
    @ApiModelProperty(value = "路径")
    private String path;

}